package com.zfjt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zfjt.dao.ClientmessageBeanMapper;
import com.zfjt.entity.ClientmessageBean;
import com.zfjt.service.ClientmessageBeanService;

@Service
public class ClientmessageBeanServiceIpml implements ClientmessageBeanService{
	
	@Autowired
	private ClientmessageBeanMapper mClient;

	@Override
	public Integer deleteByPrimaryKey(Short id) {
		return mClient.deleteByPrimaryKey(id);
	}

	@Override
	public Integer insert(ClientmessageBean record) {
		return mClient.insert(record);
	}

	@Override
	public Integer insertSelective(ClientmessageBean record) {
		return mClient.insertSelective(record);
	}

	@Override
	public ClientmessageBean selectByPrimaryKey(Short id) {
		return mClient.selectByPrimaryKey(id);
	}

	@Override
	public Integer updateByPrimaryKeySelective(ClientmessageBean record) {
		return mClient.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer updateByPrimaryKey(ClientmessageBean record) {
		return mClient.updateByPrimaryKey(record);
	}
	
	@Override
	public List<ClientmessageBean> selectAll() {
		return mClient.selectAll();
	}

	@Override
	public ClientmessageBean selectByName(String name) {
		// TODO Auto-generated method stub
		return mClient.selectByName(name);
	}



}
